Web Socket Frames Stream
class WebSocketFramesStream(webSocketUri: String, framesBufferSize: Int, mapper: FrameMapper, webSocketClient: OkHttpClient) : WebSocketListener, Closeable, AutoCloseable
Content copied to clipboard
WebSocketFramesStream represents connection to remote WebSocket endpoint of the DevTools Protocol (either inspectable page debugger url http://localhost:9222/json or browser debugger url http://localhost:9222/json/version)
Parameters
webSocketUri
WebSocket debugger uri to connect to
framesBufferSize
Frames buffer size (how many ResponseFrames will be replayed prior to subscribing to stream)
mapper
FrameMapper that will serialize/deserialize frames exchanged by protocol
webSocketClient
WebSocket client for exchanging WebSocket frames.
Constructors
WebSocketFramesStream
Link copied to clipboard
fun WebSocketFramesStream(webSocketUri: String, framesBufferSize: Int, mapper: FrameMapper, webSocketClient: OkHttpClient)
Content copied to clipboard
WebSocket debugger uri to connect to
Types
Functions
eventFrames
Link copied to clipboard
frames
Link copied to clipboard
getResponse
Link copied to clipboard
fun <T> getResponse(requestFrame: RequestFrame, serializer: KSerializer<T>): Single<T>
Content copied to clipboard
send
Link copied to clipboard
Sources
jvm source
Link copied to clipboard